<!-- 图片 -->

<article>
<!-- 分类 -->
<?php
if(!empty($taglist))
  include _include(APP_PATH."plugin/di_blogs/html/catelist.htm");
?>
<div class="clear blank"></div>
  <div class="pics box whitebg">
    <ul id="tab">
      <li class="tab-current"><a href="/category-<?php echo $fid;    ?>">
          <?php  echo $forum['name'];  ?></a></li>
    </ul>
    <div class="plr20">
      <section>
        <div class="videos-list">
          <ul>
        <?php

        if($threadlist) {

        foreach($threadlist as &$_thread) {
            if(!empty($tagid))  if($_thread['tagids'] != $tagid)  continue;
            $randimg=rand(1,30);
            $t_img=get_first_img_by_pid($_thread['firstpid']);
            if(empty($t_img)) $t_img="./plugin/di_blogs/randimg/randimg/{$randimg}.jpg"
        ?>
             <li>
              <a href="/article-<?php echo $_thread['tid'];?>.html">
                <i><img src="<?php echo $t_img; ?>"></i>
                <h2><?php echo $_thread['subject'];?></h2>
                <p><b class="datetime"><?php echo $_thread['create_date_fmt'];?></b><span class="viewd"><?php echo $_thread['views'];?>看过</span></p>
              </a>
            </li>
         <?php }} ?>
          </ul>
        </div>
        <span class="tab-a-more"><a href="#" title="柒微网络"><i></i><i></i><i></i></a></span></section>
    </div>
  </div>

  <!-- pics end-->
  <div class="clear blank"></div></article>
